home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / f90 / huge.z / huge
Encoding:
Text File  |  2002-10-03  |  3.4 KB  |  84 lines

  1. HUGE(3I)                                              Last changed: 4-13-99
  2.  
  3.  
  4. NNAAMMEE
  5.      HHUUGGEE - Returns the largest number in the integer or real numeric model
  6.  
  7. SSYYNNOOPPSSIISS
  8.      HHUUGGEE (([XX==]_x))
  9.  
  10. IIMMPPLLEEMMEENNTTAATTIIOONN
  11.      UNICOS, UNICOS/mk, IRIX systems
  12.  
  13.      CF90, MIPSpro 7 Fortran 90
  14.  
  15. SSTTAANNDDAARRDDSS
  16.      Fortran
  17.  
  18. DDEESSCCRRIIPPTTIIOONN
  19.      The HHUUGGEE intrinsic function returns the largest number in the model
  20.      representing numbers of the same type and kind type parameter as the
  21.      argument _x.  It accepts the following argument:
  22.  
  23.      _x         Must be of type integer or real.  It may be scalar or array
  24.                valued.
  25.  
  26.      HHUUGGEE is an inquiry function.  The name of this intrinsic cannot be
  27.      passed as an argument.
  28.  
  29. NNOOTTEESS
  30.      On UNICOS systems, both execution speed and the number of bits used in
  31.      mathematical operations are affected when compiling with
  32.      ff9900 --OO ffaassttiinntt, which is the default setting.  For more information,
  33.      see _C_F_9_0 _C_o_m_m_a_n_d_s _a_n_d _D_i_r_e_c_t_i_v_e_s _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l.
  34.  
  35. RREETTUURRNN VVAALLUUEESS
  36.      The result is a scalar value of the same type and kind type parameter
  37.      as _x.
  38.                                _q
  39.      The result has the value _r -1 if _x is of type integer and the value
  40.          -_p                 _e sub max
  41.      (1-_b  ) multiplied by _b          if _x is of type real, where _r, _q, _b,
  42.      _p, and
  43.  
  44.      _e     (represented as "_e sub max" in the previous equation) are
  45.        max
  46.      as defined in the real number model, which represents numbers of the
  47.      same type and kind type parameter as _x.  For more information on the
  48.      real number model, see the MMOODDEELLSS(3I) man page.
  49.  
  50. EEXXAAMMPPLLEESS
  51.      On UNICOS systems, HHUUGGEE((XX)) has a value that approximates
  52.          -47                 8189
  53.      (1-2   ) multiplied by 2     for real XX.
  54.  
  55.      On CRAY T90 systems that support IEEE floating-point arithmetic,
  56.      HHUUGGEE((XX)) has values that approximate the following:
  57.            -24                 128
  58.      * (1-2   ) multiplied by 2    for real ((KKIINNDD==44)) XX
  59.            -53                 1024
  60.      * (1-2   ) multiplied by 2     for real ((KKIINNDD==88)) XX
  61.            -113                 16384
  62.      * (1-2    ) multiplied by 2      for real ((KKIINNDD==1166)) XX
  63.  
  64.      On UNICOS/mk systems, HHUUGGEE((XX)) has values that approximate the
  65.      following:
  66.            -24                 128
  67.      * (1-2   ) multiplied by 2    for real ((KKIINNDD==44)) XX
  68.            -53                 1024
  69.      * (1-2   ) multiplied by 2     for real ((KKIINNDD==88)) XX
  70.  
  71.      On IRIX systems, HHUUGGEE((XX)) has values that approximate the following:
  72.            -24                 128
  73.      * (1-2   ) multiplied by 2    for real ((KKIINNDD==44)) XX
  74.            -53                 1024
  75.      * (1-2   ) multiplied by 2     for real ((KKIINNDD==88)) XX
  76.            -107                 1023
  77.      * (1-2    ) multiplied by 2     for real ((KKIINNDD==1166)) XX
  78.  
  79. SSEEEE AALLSSOO
  80.      MMOODDEELLSS(3I)
  81.  
  82.      _I_n_t_r_i_n_s_i_c _P_r_o_c_e_d_u_r_e_s _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l for the printed version of this
  83.      man page.
  84.